<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>魏青青爱你呦</title>
    <style>
        img{
            width: 100px;
            height: 150px;
            position: absolute;
        }
        h1{
            text-align: center;
            color: red;
            font-size: 4rem;
        }
    </style>
</head>
<body>
    <h1>青青大哥爱你呦~</h1>
    <main id="box">
    </main>
</body>
<script>
    var main = document.getElementById("box");
    for(var i = 1 ;i <= 113 ;i++ ){
        var img = document.createElement("img")
        img.setAttribute("src","img/"+i+".jpg")
        main.appendChild(img)
        img.style.left = Math.floor(Math.random()*1700+100)+"px"
        img.style.top = Math.floor(Math.random()*600+150)+"px"
    }


</script>
</html>